package com.zhf.service.impl;

import com.zhf.dao.TestMapper;
import com.zhf.domain.Test;
import com.zhf.service.TestService;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;

import java.util.List;

/**
 * @Author: ZhaoHuanfeng
 * @Date: 2020/12/1 22:47
 */
@Service
public class TestServiceImpl implements TestService {

    @Autowired
    private TestMapper testMapper;
    @Override
    public List<Test> findAllTest() {
        List<Test> tests = testMapper.findAllTest();
        return tests;
    }
}
